package com.example.adminbase.service.imp;

import com.example.adminbase.dao.CrudDao;
import com.example.adminbase.dao.SysRoleMapper;
import com.example.adminbase.domain.SysRole;
import com.example.adminbase.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class SysRoleServiceImp implements SysRoleService {

    /**
     * This is generated by MyBatis Generator, do not modify.
     * @mbg.generated
     */
    @Autowired
    private SysRoleMapper sysRoleMapper;

    /**
     * This is generated by MyBatis Generator, do not modify.
     * @mbg.generated
     */
    @Override
    public CrudDao<String, SysRole> getDao() {
        return sysRoleMapper;
    }
}
